package org.sang.bean;

import org.sang.enums.StatusEnum;

import java.util.Date;

public class Task {
//    task(taskNo, name, content, status, launchTime, expectedEndTime, address, ->memberNo, ->volunteerNo)
    private int taskNo;
    private String name;
    private String content;
    private StatusEnum status;
    private Date launchTime;
    private Date expectedEndTime;
    private Date endTime;
    private String address;
    private int memberNo;
    private int volunteerNo;

    private String memberName;
    private String memberPhoneNr;
    private String volunteerName;
    private String volunteerPhoneNr;
    private int statusN;

    public int getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(int taskNo) {
        this.taskNo = taskNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public StatusEnum getStatus() {
        return status;
    }

    public void setStatus(StatusEnum status) {
        this.status = status;
    }

    public Date getLaunchTime() {
        return launchTime;
    }

    public void setLaunchTime(Date launchTime) {
        this.launchTime = launchTime;
    }

    public Date getExpectedEndTime() {
        return expectedEndTime;
    }

    public void setExpectedEndTime(Date expectedEndTime) {
        this.expectedEndTime = expectedEndTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getMemberNo() {
        return memberNo;
    }

    public void setMemberNo(int memberNo) {
        this.memberNo = memberNo;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberPhoneNr() {
        return memberPhoneNr;
    }

    public void setMemberPhoneNr(String memberPhoneNr) {
        this.memberPhoneNr = memberPhoneNr;
    }

    public int getVolunteerNo() {
        return volunteerNo;
    }

    public void setVolunteerNo(int volunteerNo) {
        this.volunteerNo = volunteerNo;
    }

    public String getVolunteerName() {
        return volunteerName;
    }

    public void setVolunteerName(String volunteerName) {
        this.volunteerName = volunteerName;
    }

    public String getVolunteerPhoneNr() {
        return volunteerPhoneNr;
    }

    public void setVolunteerPhoneNr(String volunteerPhoneNr) {
        this.volunteerPhoneNr = volunteerPhoneNr;
    }

    public int getStatusN() {
        return statusN;
    }

    public void setStatusN(int statusN) {
        this.statusN = statusN;
    }
}
